package com.aps.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * APS 服务器主启动类
 * 
 * @author APS Scaffold
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.aps"})
@MapperScan(basePackages = "com.aps.server.mapper,com.aps.algorithm.mapper")
public class APSApplication {

    public static void main(String[] args) {
        SpringApplication.run(APSApplication.class, args);
        System.out.println("========================================");
        System.out.println("APS Scaffold 服务器启动成功！");
        System.out.println("========================================");
        System.out.println("API文档地址: http://localhost:8080/doc.html");
        System.out.println("健康检查地址: http://localhost:8080/actuator/health");
        System.out.println("========================================");
    }
}
